package com.jar.exercise.多线程.AQS.reentrantlock.线程间通信;

public class Product implements Runnable {

	private Milk milk;

	public Product(Milk milk) {
		this.milk = milk;
	}

	@Override
	public void run() {
		for (int i = 0; i < 10; i++) {
			milk.product();
		}
	}
}
